<?php
/* $Id: generate.reports.php,v 1.5 2003/10/08 07:24:55 tuxmonkey Exp $ */

if (strpos($_SERVER['PHP_SELF'],basename(__FILE__)) !== false) {
  print "Direct module access forbidden.".basename(__FILE__);exit;}
  

if (isset($_REQUEST['gid'])) {
  $gid = $_REQUEST['gid'];
}

?>  	
<center>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="SupportReport" width="100%" height="600"
			codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
			<param name="movie" value="modules/reports/flex/SupportReport.swf?gid=12" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#FFFFFF" />
			<param name="allowScriptAccess" value="sameDomain" />
			<embed src="modules/reports/flex/SupportReport.swf?gid=<?php echo $gid; ?>" quality="high" bgcolor="#FFFFFF"
				width="100%" height="600" name="SupportReport" align="middle"
				play="true"
				loop="false"
				quality="high"
				allowScriptAccess="sameDomain"
				type="application/x-shockwave-flash"
				pluginspage="http://www.adobe.com/go/getflashplayer">
			</embed>
	</object>
</center>